<?php 

namespace frontend\controllers;

use Yii;
use yii\web\Controller;
use frontend\models\Job;
use yii\data\Pagination;

/**
* 全部职位
*/
class JobsController extends Controller
{
	
	public $layout='myindex';

	public function actionJobs(){
		$model=new Job();
		$res=$model->find()->all();
		return $this->render('jobs',['res'=>$res]);
	}
}

 ?>